package com.ruoyi.appointmentRecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预约记录对象 jy_appointment_record
 *
 * @author ch
 * @date 2022-07-28
 */
@ApiModel
public class AppointmentRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 预约人id */
    @Excel(name = "预约人id")
    @ApiModelProperty(value = "预约人id")
    private Long appointmentId;

    /** 预约人名称 */
    @Excel(name = "预约人名称")
    @ApiModelProperty(value = "预约人名称")
    private String appointmentName;

    /** 预约人手机号 */
    @Excel(name = "预约人手机号")
    @ApiModelProperty(value = "预约人手机号")
    private String appointmentPhone;

    /** 技师id */
    @Excel(name = "技师id")
    @ApiModelProperty(value = "技师id")
    private Long technicianId;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 门店图片 */
    @Excel(name = "门店图片")
    @ApiModelProperty(value = "门店图片")
    private String storeImg;

    /** 门店名称 */
    @Excel(name = "门店名称")
    @ApiModelProperty(value = "门店名称")
    private String storeName;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "预约日期")
    private Date appointmentTime;

    /** 周几 */
    @Excel(name = "周几")
    @ApiModelProperty(value = "周几")
    private String severalWeeks;

    /** 时段 */
    @Excel(name = "时段")
    @ApiModelProperty(value = "时段")
    private String timeFrame;

    /** 预约状态 */
    @Excel(name = "预约状态")
    @ApiModelProperty(value = "预约状态")
    private String appointmentStatus;

    /** 预约人数 */
    @Excel(name = "预约人数")
    @ApiModelProperty(value = "预约人数")
    private Integer appointmentNum;

    /** 预约项目 */
    @Excel(name = "预约项目")
    @ApiModelProperty(value = "预约项目")
    private String appointmentItem;

    /** 预约备注 */
    @Excel(name = "预约备注")
    @ApiModelProperty(value = "预约备注")
    private String appointmentRemark;

    /** 预约平台备注 */
    @Excel(name = "预约平台备注")
    @ApiModelProperty(value = "预约平台备注")
    private String platformRemark;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAppointmentId(Long appointmentId)
    {
        this.appointmentId = appointmentId;
    }

    public Long getAppointmentId()
    {
        return appointmentId;
    }
    public void setAppointmentName(String appointmentName)
    {
        this.appointmentName = appointmentName;
    }

    public String getAppointmentName()
    {
        return appointmentName;
    }
    public void setAppointmentPhone(String appointmentPhone)
    {
        this.appointmentPhone = appointmentPhone;
    }

    public String getAppointmentPhone()
    {
        return appointmentPhone;
    }
    public void setTechnicianId(Long technicianId)
    {
        this.technicianId = technicianId;
    }

    public Long getTechnicianId()
    {
        return technicianId;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setStoreImg(String storeImg)
    {
        this.storeImg = storeImg;
    }

    public String getStoreImg()
    {
        return storeImg;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setAppointmentTime(Date appointmentTime)
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime()
    {
        return appointmentTime;
    }
    public void setSeveralWeeks(String severalWeeks)
    {
        this.severalWeeks = severalWeeks;
    }

    public String getSeveralWeeks()
    {
        return severalWeeks;
    }
    public void setTimeFrame(String timeFrame)
    {
        this.timeFrame = timeFrame;
    }

    public String getTimeFrame()
    {
        return timeFrame;
    }
    public void setAppointmentStatus(String appointmentStatus)
    {
        this.appointmentStatus = appointmentStatus;
    }

    public String getAppointmentStatus()
    {
        return appointmentStatus;
    }
    public void setAppointmentNum(Integer appointmentNum)
    {
        this.appointmentNum = appointmentNum;
    }

    public Integer getAppointmentNum()
    {
        return appointmentNum;
    }
    public void setAppointmentItem(String appointmentItem)
    {
        this.appointmentItem = appointmentItem;
    }

    public String getAppointmentItem()
    {
        return appointmentItem;
    }
    public void setAppointmentRemark(String appointmentRemark)
    {
        this.appointmentRemark = appointmentRemark;
    }

    public String getAppointmentRemark()
    {
        return appointmentRemark;
    }
    public void setPlatformRemark(String platformRemark)
    {
        this.platformRemark = platformRemark;
    }

    public String getPlatformRemark()
    {
        return platformRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("appointmentId", getAppointmentId())
            .append("appointmentName", getAppointmentName())
            .append("appointmentPhone", getAppointmentPhone())
            .append("technicianId", getTechnicianId())
            .append("storeId", getStoreId())
            .append("storeImg", getStoreImg())
            .append("storeName", getStoreName())
            .append("appointmentTime", getAppointmentTime())
            .append("severalWeeks", getSeveralWeeks())
            .append("timeFrame", getTimeFrame())
            .append("appointmentStatus", getAppointmentStatus())
            .append("appointmentNum", getAppointmentNum())
            .append("appointmentItem", getAppointmentItem())
            .append("appointmentRemark", getAppointmentRemark())
            .append("platformRemark", getPlatformRemark())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
